package com.cskaoyan.wordmemorize.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cskaoyan.wordmemorize.dao.entity.PermissionDO;
import com.cskaoyan.wordmemorize.dto.admin.PermissionDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper extends BaseMapper<PermissionDO> {
    List<PermissionDTO> selectAllPermission();


    List<Long> selectPermissionIdsRecursive(@Param("id") Long id);
}
